package LJ;

//import java.awt.print.Book;

public class BookList {
    private Book[] books;
    private int size;
    public BookList(){
        books=new Book[]{
        books[0]=new Book("C语言程序设计","士大夫",12,"计算机"),
        books[1]=new Book("java程序设计","士大夫",12,"计算机"),
        books[2]=new Book("poython语言程序设计","士大夫",12,"计算机"),
        books[3]=new Book("C++语言程序设计","士大夫",12,"计算机"),
        };
        size=4;
    }

    public Book[] getBooks() {
        return books;
    }

    public void setBooks(Book[] books) {
        this.books = books;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }
}
